package com.shop.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.shop.entities.Admin;
import com.shop.mapper.AdminLoginMapper;

@Service
public class AdminLoginService {
	
	@Autowired
	private AdminLoginMapper adminLoginMapper;
	
	 public Admin AdminLogin(String adminName,String adminPassword) {
		 return  adminLoginMapper.AdminLogin(adminName, adminPassword);
	 }

}
